<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: EventChainElement Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_event_chain_element-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">EventChainElement Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Defines an element for the <a class="el" href="class_event.html" title="Event class. ">Event</a> Chain.  
 <a href="class_event_chain_element.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_event_chain_element_8h_source.html">EventChainElement.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5ea840974f6ff43044e2ae6323b8241c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#a5ea840974f6ff43044e2ae6323b8241c">EventChainElement</a> (double <a class="el" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a>, const <a class="el" href="class_event.html">Event</a> &amp;<a class="el" href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">event</a>)</td></tr>
<tr class="memdesc:a5ea840974f6ff43044e2ae6323b8241c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a5ea840974f6ff43044e2ae6323b8241c">More...</a><br/></td></tr>
<tr class="separator:a5ea840974f6ff43044e2ae6323b8241c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae3d6217ce76ebe8603b89383ed63e7c6"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a></td></tr>
<tr class="memdesc:ae3d6217ce76ebe8603b89383ed63e7c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Absolute occurrence time of event (= current time + occurAfterTime of event).  <a href="#ae3d6217ce76ebe8603b89383ed63e7c6">More...</a><br/></td></tr>
<tr class="separator:ae3d6217ce76ebe8603b89383ed63e7c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcae9fc863225f6b9ab43489895fed65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_event.html">Event</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">event</a></td></tr>
<tr class="memdesc:adcae9fc863225f6b9ab43489895fed65"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_event.html" title="Event class. ">Event</a> object.  <a href="#adcae9fc863225f6b9ab43489895fed65">More...</a><br/></td></tr>
<tr class="separator:adcae9fc863225f6b9ab43489895fed65"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:afb88c77ea5daaefa6c8fa6bc5b9aa5c1"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#afb88c77ea5daaefa6c8fa6bc5b9aa5c1">Scheduler</a></td></tr>
<tr class="separator:afb88c77ea5daaefa6c8fa6bc5b9aa5c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add80734c355c74ce27444a2f7d24aa59"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#add80734c355c74ce27444a2f7d24aa59">operator&lt;</a> (const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;left, const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;right)</td></tr>
<tr class="memdesc:add80734c355c74ce27444a2f7d24aa59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator &lt;, non-member.  <a href="#add80734c355c74ce27444a2f7d24aa59">More...</a><br/></td></tr>
<tr class="separator:add80734c355c74ce27444a2f7d24aa59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e818a017933869ba62d5915e6a469d5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#a7e818a017933869ba62d5915e6a469d5">operator&lt;=</a> (const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;left, const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;right)</td></tr>
<tr class="memdesc:a7e818a017933869ba62d5915e6a469d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator &lt;=, non-member.  <a href="#a7e818a017933869ba62d5915e6a469d5">More...</a><br/></td></tr>
<tr class="separator:a7e818a017933869ba62d5915e6a469d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a650f887b06045cd2bfda65d28f560812"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#a650f887b06045cd2bfda65d28f560812">operator==</a> (const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;left, const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;right)</td></tr>
<tr class="memdesc:a650f887b06045cd2bfda65d28f560812"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator ==, non-member.  <a href="#a650f887b06045cd2bfda65d28f560812">More...</a><br/></td></tr>
<tr class="separator:a650f887b06045cd2bfda65d28f560812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acabbca299f7a82dfe7a696f41f812f20"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#acabbca299f7a82dfe7a696f41f812f20">operator&gt;</a> (const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;left, const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;right)</td></tr>
<tr class="memdesc:acabbca299f7a82dfe7a696f41f812f20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator &gt;, non-member.  <a href="#acabbca299f7a82dfe7a696f41f812f20">More...</a><br/></td></tr>
<tr class="separator:acabbca299f7a82dfe7a696f41f812f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33c0ba319798376c34c1147482140f8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#af33c0ba319798376c34c1147482140f8">operator&gt;=</a> (const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;left, const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;right)</td></tr>
<tr class="memdesc:af33c0ba319798376c34c1147482140f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator &gt;=, non-member.  <a href="#af33c0ba319798376c34c1147482140f8">More...</a><br/></td></tr>
<tr class="separator:af33c0ba319798376c34c1147482140f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85c5a2421c78edf038183f2734507a61"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_event_chain_element.html#a85c5a2421c78edf038183f2734507a61">operator!=</a> (const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;left, const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;right)</td></tr>
<tr class="memdesc:a85c5a2421c78edf038183f2734507a61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator !=, non-member.  <a href="#a85c5a2421c78edf038183f2734507a61">More...</a><br/></td></tr>
<tr class="separator:a85c5a2421c78edf038183f2734507a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defines an element for the <a class="el" href="class_event.html" title="Event class. ">Event</a> Chain. </p>
<dl class="section author"><dt>Author</dt><dd>Marcos Portnoi </dd></dl>
<dl class="section date"><dt>Date</dt><dd>April 2013</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (C) 2013 University of Delaware. </dd>
<dd>
QCNSim uses elements of TARVOS simulator, Copyright (C) 2005, 2006, 2007 Marcos Portnoi. </dd></dl>
<dl class="section user"><dt></dt><dd>This file is part of QCNSim. QCNSim is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br/>
 QCNSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.<br/>
 You should have received a copy of the GNU Lesser General Public License along with QCNSim. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </dd></dl>
<dl class="section user"><dt>Description</dt><dd>The <a class="el" href="class_event.html" title="Event class. ">Event</a> Chain is a time-ordered list of events. The <a class="el" href="class_scheduler.html" title="Scheduler class. ">Scheduler</a> is the entity responsible for putting events into the list, ordered by occurrence in time, and for retrieving events from the beginning of the list. When the <a class="el" href="class_scheduler.html" title="Scheduler class. ">Scheduler</a> retrieves an event at the head of the list, it "causes" the event, or activates the agents responsible for "executing" the actions predicted in the event (such as an arrival of a token, a request for service). </dd></dl>

<p>Definition at line <a class="el" href="_event_chain_element_8h_source.html#l00036">36</a> of file <a class="el" href="_event_chain_element_8h_source.html">EventChainElement.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5ea840974f6ff43044e2ae6323b8241c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EventChainElement::EventChainElement </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>eventTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event.html">Event</a> &amp;&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Defines an element for the <a class="el" href="class_event.html" title="Event class. ">Event</a> Chain.</p>
<dl class="section author"><dt>Author</dt><dd>Marcos Portnoi </dd></dl>
<dl class="section date"><dt>Date</dt><dd>April 2013</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (C) 2013 University of Delaware. </dd>
<dd>
QCNSim uses elements of TARVOS simulator, Copyright (C) 2005, 2006, 2007 Marcos Portnoi. </dd></dl>
<dl class="section user"><dt></dt><dd>This file is part of QCNSim. QCNSim is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br/>
 QCNSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.<br/>
 You should have received a copy of the GNU Lesser General Public License along with QCNSim. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </dd></dl>
<dl class="section user"><dt>Description</dt><dd>The <a class="el" href="class_event.html" title="Event class. ">Event</a> Chain is a time-ordered list of events. The <a class="el" href="class_scheduler.html" title="Scheduler class. ">Scheduler</a> is the agent responsible for putting events into the list, ordered by occurrence in time, and for retrieving events from the beginning of the list. When the <a class="el" href="class_scheduler.html" title="Scheduler class. ">Scheduler</a> retrieves an event at the head of the list, it "causes" the event, or activates the agents responsible for "executing" the actions predicted in the event (such as a message arrival, message sending, etc.). Constructor with parameters.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eventTime</td><td>Absolute occurrence time of event (= current time + occurAfterTime of event). </td></tr>
    <tr><td class="paramname">event</td><td><a class="el" href="class_event.html" title="Event class. ">Event</a> object. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00040">40</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                                                                        : <a class="code" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a>(<a class="code" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a>), <a class="code" href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">event</a>(event) {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_ae3d6217ce76ebe8603b89383ed63e7c6"><div class="ttname"><a href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">EventChainElement::eventTime</a></div><div class="ttdeci">double eventTime</div><div class="ttdoc">Absolute occurrence time of event (= current time + occurAfterTime of event). </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8h_source.html#l00038">EventChainElement.h:38</a></div></div>
<div class="ttc" id="class_event_chain_element_html_adcae9fc863225f6b9ab43489895fed65"><div class="ttname"><a href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">EventChainElement::event</a></div><div class="ttdeci">Event event</div><div class="ttdoc">Event object. </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8h_source.html#l00039">EventChainElement.h:39</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a85c5a2421c78edf038183f2734507a61"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator !=, non-member. </p>
<p>Operator != (not equal) overloading.</p>
<p>This is the overloading of the comparison == operator for use with <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a>. The result should be FALSE if the left <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> has the same contents as the right <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "left", to be compared with the "right". </td></tr>
    <tr><td class="paramname">right</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "right", to be compared with the "left". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00125">125</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                                                                                {</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordflow">return</span> !<a class="code" href="class_event_chain_element.html#a650f887b06045cd2bfda65d28f560812">operator==</a>(left, right); </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_a650f887b06045cd2bfda65d28f560812"><div class="ttname"><a href="class_event_chain_element.html#a650f887b06045cd2bfda65d28f560812">EventChainElement::operator==</a></div><div class="ttdeci">friend bool operator==(const EventChainElement &amp;left, const EventChainElement &amp;right)</div><div class="ttdoc">Operator ==, non-member. </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8cpp_source.html#l00111">EventChainElement.cpp:111</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="add80734c355c74ce27444a2f7d24aa59"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator &lt;, non-member. </p>
<p>Operator &lt; overloading.</p>
<p>This is the overloading of the &lt; operator. The result should be TRUE if the left eventTime happens earlier than the right eventTime.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "left", to be compared with the "right". </td></tr>
    <tr><td class="paramname">right</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "right", to be compared with the "left". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00053">53</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                                                                               {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordflow">return</span> left.<a class="code" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a> &lt; right.<a class="code" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="comment">// For priority_queue container, this should actually be true if left.eventTime &gt;= right.eventTime.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="comment">// But then the operator &lt; breaks if a real &lt; comparison is wanted.</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_ae3d6217ce76ebe8603b89383ed63e7c6"><div class="ttname"><a href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">EventChainElement::eventTime</a></div><div class="ttdeci">double eventTime</div><div class="ttdoc">Absolute occurrence time of event (= current time + occurAfterTime of event). </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8h_source.html#l00038">EventChainElement.h:38</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a7e818a017933869ba62d5915e6a469d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator &lt;=, non-member. </p>
<p>Operator &lt;= overloading.</p>
<p>This is the overloading of the &lt;= operator. The result should be TRUE if the left eventTime happens earlier or at the same time as the right eventTime.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "left", to be compared with the "right". </td></tr>
    <tr><td class="paramname">right</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "right", to be compared with the "left". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00083">83</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                                                                                {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">return</span> !<a class="code" href="class_event_chain_element.html#acabbca299f7a82dfe7a696f41f812f20">operator&gt;</a>(left, right);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_acabbca299f7a82dfe7a696f41f812f20"><div class="ttname"><a href="class_event_chain_element.html#acabbca299f7a82dfe7a696f41f812f20">EventChainElement::operator&gt;</a></div><div class="ttdeci">friend bool operator&gt;(const EventChainElement &amp;left, const EventChainElement &amp;right)</div><div class="ttdoc">Operator &amp;gt;, non-member. </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8cpp_source.html#l00069">EventChainElement.cpp:69</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a650f887b06045cd2bfda65d28f560812"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator ==, non-member. </p>
<p>Operator == (equal) overloading.</p>
<p>This is the overloading of the comparison == operator for use with <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a>. The result should be TRUE if the left <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> has the same contents as the right <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "left", to be compared with the "right". </td></tr>
    <tr><td class="paramname">right</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "right", to be compared with the "left". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00111">111</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                                                                                {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">return</span> (left.<a class="code" href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">event</a> == right.<a class="code" href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">event</a> &amp;&amp; left.<a class="code" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a> == right.<a class="code" href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">eventTime</a>); </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_ae3d6217ce76ebe8603b89383ed63e7c6"><div class="ttname"><a href="class_event_chain_element.html#ae3d6217ce76ebe8603b89383ed63e7c6">EventChainElement::eventTime</a></div><div class="ttdeci">double eventTime</div><div class="ttdoc">Absolute occurrence time of event (= current time + occurAfterTime of event). </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8h_source.html#l00038">EventChainElement.h:38</a></div></div>
<div class="ttc" id="class_event_chain_element_html_adcae9fc863225f6b9ab43489895fed65"><div class="ttname"><a href="class_event_chain_element.html#adcae9fc863225f6b9ab43489895fed65">EventChainElement::event</a></div><div class="ttdeci">Event event</div><div class="ttdoc">Event object. </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8h_source.html#l00039">EventChainElement.h:39</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="acabbca299f7a82dfe7a696f41f812f20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator &gt;, non-member. </p>
<p>Operator &gt; overloading.</p>
<p>This is the overloading of the &gt; operator. The result should be TRUE if the left eventTime happens later than the right eventTime.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "left", to be compared with the "right". </td></tr>
    <tr><td class="paramname">right</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "right", to be compared with the "left". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00069">69</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                                                                               {</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_event_chain_element.html#add80734c355c74ce27444a2f7d24aa59">operator&lt;</a>(right, left);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_add80734c355c74ce27444a2f7d24aa59"><div class="ttname"><a href="class_event_chain_element.html#add80734c355c74ce27444a2f7d24aa59">EventChainElement::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const EventChainElement &amp;left, const EventChainElement &amp;right)</div><div class="ttdoc">Operator &amp;lt;, non-member. </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8cpp_source.html#l00053">EventChainElement.cpp:53</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af33c0ba319798376c34c1147482140f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_event_chain_element.html">EventChainElement</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator &gt;=, non-member. </p>
<p>Operator &gt;= overloading.</p>
<p>This is the overloading of the &gt;= operator. The result should be TRUE if the left eventTime happens later or at the same time as the right eventTime.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "left", to be compared with the "right". </td></tr>
    <tr><td class="paramname">right</td><td>The <a class="el" href="class_event_chain_element.html" title="Defines an element for the Event Chain. ">EventChainElement</a> object to the "right", to be compared with the "left". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_event_chain_element_8cpp_source.html#l00097">97</a> of file <a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                                                                                {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordflow">return</span> !<a class="code" href="class_event_chain_element.html#add80734c355c74ce27444a2f7d24aa59">operator&lt;</a>(left, right);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;}</div>
<div class="ttc" id="class_event_chain_element_html_add80734c355c74ce27444a2f7d24aa59"><div class="ttname"><a href="class_event_chain_element.html#add80734c355c74ce27444a2f7d24aa59">EventChainElement::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const EventChainElement &amp;left, const EventChainElement &amp;right)</div><div class="ttdoc">Operator &amp;lt;, non-member. </div><div class="ttdef"><b>Definition:</b> <a href="_event_chain_element_8cpp_source.html#l00053">EventChainElement.cpp:53</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="afb88c77ea5daaefa6c8fa6bc5b9aa5c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_scheduler.html">Scheduler</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_event_chain_element_8h_source.html#l00063">63</a> of file <a class="el" href="_event_chain_element_8h_source.html">EventChainElement.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="adcae9fc863225f6b9ab43489895fed65"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_event.html">Event</a> EventChainElement::event</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_event.html" title="Event class. ">Event</a> object. </p>

<p>Definition at line <a class="el" href="_event_chain_element_8h_source.html#l00039">39</a> of file <a class="el" href="_event_chain_element_8h_source.html">EventChainElement.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae3d6217ce76ebe8603b89383ed63e7c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double EventChainElement::eventTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Absolute occurrence time of event (= current time + occurAfterTime of event). </p>

<p>Definition at line <a class="el" href="_event_chain_element_8h_source.html#l00038">38</a> of file <a class="el" href="_event_chain_element_8h_source.html">EventChainElement.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>QcnSim/<a class="el" href="_event_chain_element_8h_source.html">EventChainElement.h</a></li>
<li>QcnSim/<a class="el" href="_event_chain_element_8cpp_source.html">EventChainElement.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 6 2014 12:30:41 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
